/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bff.slimserver.musicjukebox.ui.components;

import com.bff.bjj.ui.component.ColorProperties;
import javax.swing.border.TitledBorder;

/**
 *
 * @author bfindeisen
 */
public class MusicTitledBorder {
    
    public static TitledBorder getTitledBorder(String text) {
        TitledBorder tb = javax.swing.BorderFactory.createTitledBorder(text);
        tb.setTitleColor(ColorProperties.BORDER_COLOR);
        return tb;
    }
}
